import Layout from "/@/layout/index.vue";

const userRouter = {
  path: "/user",
  name: "user",
  component: Layout,
  redirect: "/user/index",
  meta: {
    icon: "el-icon-user",
    title: "message.userIndex",
    showLink: true,
    rank: 2
  },
  children: [
    {
      path: "/user/index",
      name: "user.index",
      component: () => import("/@/views/user/index.vue"),
      meta: {
        title: "message.userIndex",
        showLink: true
      }
    }
  ]
};

export default userRouter;
